/**
 * 
 */
package org.codesketch.birch.ssh;

import java.io.InputStream;

/**
 * @author quirino
 *
 */
public final class File {
	private String name;
	private InputStream stream;
	
	private File(final String name, final InputStream stream) {
		this.name = name;
		this.stream = stream;
	}
	
	public String getName() {
		return name;
	}
	public InputStream getStream() {
		return stream;
	}
	
	public static File with(final String name, final InputStream stream) {
		return new File(name, stream);
	}
}
